package com.niiwoo.civet.account.service.local.check.job.enums;

public enum TaskStepEnum {
	UNSTART("UNSTART", "数据库连接失败，任务未开始"), // 未开始开始
	UNDOWNLOAD("UNDOWNLOAD", "下载失败"), // 未下载或解压失败
	UNUPLOAD("UNUPLOAD", "上传zip文件到文件服务器失败"), // 未上传或上传失败
	UNZIP("UNZIP", "解压失败"), // 未解压或解压失败
	UNSTORAGE("UNSTORAGE", "入库失败，具体查看t_ac_check_parsetask"), // 没入库或入库失败
	UNCHECK("UNCHECK", "对账失败"), // 未对账或对账失败
	UNSEND("UNSEND", "发送预警短信或对账成功邮件失败"), // 未发送预警短信或者对账成功邮件
	UNCONFIRM("UNCONFIRM", "对账成功，调用对账确认接口失败"), // 调用存管对账确认接口失败
	FAIL("FAIL", "对账完成存在异常账单，等待对账管理员处理"), // 对账失败
	SUCCESS("SUCCESS", "对账成功且调用对账确认接口成功"), // 对账成功
	;

	TaskStepEnum(String code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	private String code;
	private String desc;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

}
